cmake_minimum_required(VERSION 3.10)
project(lrp VERSION 1.0.0 LANGUAGES CXX)

set(CMAKE_CXX_FLAGS "${CCMAKE_CXX_FLAGS} -rdynamic -O3 -fPIC -ggdb -std=c++17 -Wall -Wno-deprecated -Werror -Wno-unused-function -Wno-builtin-macro-redefined -Wno-deprecated-declarations")

add_executable(lrpc 
    tunnel.cc
    cli.cc
)
add_executable(lrps 
    tunnel.cc
    srv.cc
)

target_link_libraries(lrpc
    PRIVATE
    event
)

target_link_libraries(lrps
    PRIVATE
    event
)